<table class="table table-striped table-bordered table-hover table-nowrap">
    <tr>
        <th>ID</th>
        <th>预约人</th>
        <th>订单金额</th>
        <th>订单状态</th>
        <th>下单时间</th>
        <th>订单评价</th>
    </tr>
    {if $OrderList}
        {foreach $OrderList as $item}
            <tr>
                <td>{$item.id}</td>
                <td>{$item.business.nickname}</td>
                <td>{$item.total}</td>
                <td>{$item.status_text}</td>
                <td>{$item.createtime_text}</td>
                {if empty($item.comment)}
                    <td>暂无评价</td>
                {else /}
                    <td>{$item.comment}</td>
                {/if}
            </tr>
        {/foreach}
    {else /}
        <tr class="no-records-found">
            <td colspan="10">暂无订单</td>
        </tr>
    {/if}
</table>